﻿namespace NTLib.Pipe.Network.Connectors
{
    using Core.Configuration;
    using NTLib.Core.Component;
    using NTLib.Core.Factories;
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Runtime.CompilerServices;
    using System.Text;
    using System.Threading.Tasks;

    /// <summary>
    /// Manege all the IConnector object.
    /// </summary>
    public class ConnectorManager : ComponentFactory<IConnector>
    {
        #region Fields

        private static readonly ConnectorManager s_instance = new ConnectorManager();
        
        #endregion

        #region Ctor

        /// <summary>
        /// Prevents a default instance of the <see cref="ConnectorManager"/> class from being created.
        /// </summary>
        private ConnectorManager()
        {

        }

        #endregion

        #region Properties

        /// <summary>
        /// Gets the instance.
        /// </summary>
        public static ConnectorManager Instance
        {
            get { return s_instance; }
        }

        #endregion
    }
}
